package com.otod.tools.utils;

import org.apache.commons.lang3.time.DateFormatUtils;

import java.util.HashMap;
import java.util.Map;


/**
 * Created by Administrator on 14-5-5.
 */
public class DateUtils extends org.apache.commons.lang3.time.DateUtils {

    public static final String TIME_PATTEN_STRING = "yyyyMMddHHmmss";

    public static String formatCurrentDate() {
        return DateFormatUtils.format(Clock.DEFAULT.getCurrentDate(), TIME_PATTEN_STRING);
    }

    public static void main(String[] args) {
        Map<String, String> map = new HashMap<String, String>();
        map.put("super", "zoc");
        map.put("super", "1111");
        System.out.println(map.get("super"));
    }

}
